package com.example.prodecttest.result;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @description:
 * @author: fan
 * @date: 2022/2/18 15:35
 * @version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
public enum ResultConstants {

    /*base*/
    SUCCESS(200, "ok"),
    FAIL(500, "fail");

    public Integer status;

    public String message;

    ResultConstants(int status, String message) {
        this.status = status;
        this.message = message;
    }
}
